#pragma once

#include "../common/html_view_base.h"
// CNotifyHtmlView html view

class CNotifyHtmlView : public CHtmlViewBase
{
	DECLARE_DYNCREATE(CNotifyHtmlView)

public:
	CNotifyHtmlView();           // protected constructor used by dynamic creation
	virtual ~CNotifyHtmlView();
	BOOL Create( CRect const& rc, CWnd* pParent, UINT nID );

	void SetResource( CString const& strRes );
public:


	virtual void OnFinalRelease();

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
	DECLARE_DISPATCH_MAP()
	//DECLARE_INTERFACE_MAP()

	virtual void OnDocumentComplete(LPCTSTR lpszURL);
	virtual HRESULT OpenPage( CString const& strPage );

private:



	void OnDebug( BSTR bstrMsg )
	{
		OutputDebugString( CString(bstrMsg) );
	}

	void OnClose( int flag );


private:
	CString m_strRes;
};


